package com.ct.ecommerce.uc.dao.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;

/**
 * @author changtong
 * @since 2021/5/26
 */
@Data
@TableName(value = "ec_account",autoResultMap = true)
public class AccountEntity implements Serializable {

    @TableId
    private Long userId;

    /**
     * 账户金额
     */
    private BigDecimal amount;

    /**
     * 修改时间
     */
    private Timestamp modifyTime;

    /**
     * 状态(0无效1有效)
     */
    private Integer recordStatus;

}
